import Vue from 'vue'
import VueRouter from 'vue-router'
import ShouYe from '@/views/ShouYe.vue'
import FenLei from '@/views/FenLei.vue'
import DingDan from '@/views/DingDan.vue'
import WoDe from '@/views/WoDe.vue'

Vue.use(VueRouter)

const router = new VueRouter({
    routes: [
        {path: '/', redirect:"/shouye"},
        {path: '/shouye', component: ShouYe},
        {path: '/fenlei', component: FenLei},
        {path: '/dingdan', component: DingDan},
        {path: '/wode', component: WoDe},
    ]
})

export default router